package com.sinosoft.zyemr.entity;

import java.util.Date;

public class PatientEntity {
    private Integer id;

    private Integer ehrId;

    private String name;

    private String pym;

    private String gender;

    private Date birthdday;

    private String bloodType;

    private String contactPhone;

    private String identifyCardid;

    private String yibaoId;

    private String feiyongType;

    private String nowAddress;

    private String nation;

    private Short marriage;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEhrId() {
        return ehrId;
    }

    public void setEhrId(Integer ehrId) {
        this.ehrId = ehrId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPym() {
        return pym;
    }

    public void setPym(String pym) {
        this.pym = pym == null ? null : pym.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public Date getBirthdday() {
        return birthdday;
    }

    public void setBirthdday(Date birthdday) {
        this.birthdday = birthdday;
    }

    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType == null ? null : bloodType.trim();
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    public String getIdentifyCardid() {
        return identifyCardid;
    }

    public void setIdentifyCardid(String identifyCardid) {
        this.identifyCardid = identifyCardid == null ? null : identifyCardid.trim();
    }

    public String getYibaoId() {
        return yibaoId;
    }

    public void setYibaoId(String yibaoId) {
        this.yibaoId = yibaoId == null ? null : yibaoId.trim();
    }

    public String getFeiyongType() {
        return feiyongType;
    }

    public void setFeiyongType(String feiyongType) {
        this.feiyongType = feiyongType == null ? null : feiyongType.trim();
    }

    public String getNowAddress() {
        return nowAddress;
    }

    public void setNowAddress(String nowAddress) {
        this.nowAddress = nowAddress == null ? null : nowAddress.trim();
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation == null ? null : nation.trim();
    }

    public Short getMarriage() {
        return marriage;
    }

    public void setMarriage(Short marriage) {
        this.marriage = marriage;
    }
}